package com.hello.business.businessimp;

import com.hello.business.IUserService;
import com.hello.entity.User;
import com.hello.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class UserService implements IUserService{
   @Autowired
    private UserDao userDao;

    @Override
    public List<User> loadUser() {
        return userDao.loadUser();

    }
}

